package com.my.mapper;


import com.my.bean.RoomSales;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
  *  Mapper 接口  房间销售统计
 * </p>
 *
 * @author 崔倩倩
 * @since 2018-09-03
 */
public interface RoomSalesMapper extends BaseMapper<RoomSales> {
    /**
     * 子查询
     * @return
     */
    List<RoomSales> selectRoomSales();
    List<Map> findAllOrderVip(@Param("areaid") Long areaid,@Param("admin")boolean admin);
}